<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>混合模式</title>
    <style>
        canvas {
            display: block;
            position: absolute;
            top: 0; left: 0; bottom: 0; right: 0;
        }
        .selectBox {
            position: absolute;
            z-index: 100;
            top: 20px;
            left: 20px;
        }
    </style>
    <script src="../../RequestAnimationFrame.js"></script>
</head>
<body>
    <div class="selectBox">
        <select name="mode" id="mode" size="11">
            <option value="source-atop">source-atop</option>
            <option value="source-in">source-in</option>
            <option value="source-out">source-out</option>
            <option value="source-over">source-over</option>
            <option value="destination-atop">destination-atop</option>
            <option value="destination-in">destination-in</option>
            <option value="destination-out">destination-out</option>
            <option value="destination-over">destination-over</option>
            <option value="lighter">lighter</option>
            <option value="copy">copy</option>
            <option value="xor">xor</option>
        </select>
    </div>
    <canvas id="c"></canvas>    
<script src="./index.js"></script>
</body>
</html>